Total Complexity | 70 |
Dependencies | 5 |
Dependents | 7 |
Total lines | 588 |
Lines of code | 265 |
Logical lines of code | 148 |
Comment lines | 169 |
Methods | 36 |
Properties | 7 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
performInsert() | 53 | 5 | 25 | |
save() | 54 | 5 | 24 | |
updateOrCreate() | 56 | 5 | 19 | |
performUpdate() | 57 | 4 | 18 | |
getPivot() | 57 | 4 | 16 | |
performDelete() | 60 | 3 | 15 | |
replicate() | 59 | 3 | 14 | |
delete() | 63 | 3 | 12 | |
dataToJson() | 67 | 3 | 8 | |
fill() | 64 | 3 | 10 | |
__callStatic() | 68 | 2 | 7 | |
bootIfNotBooted() | 65 | 2 | 10 | |
make() | 71 | 2 | 6 | |
fillId() | 70 | 2 | 6 | |
__get() | 71 | 2 | 6 | |
create() | 67 | 2 | 8 | |
__construct() | 72 | 1 | 6 | |
finishSave() | 77 | 1 | 4 | |
toJson() | 79 | 1 | 3 | |
toJsonSerialize() | 81 | 1 | 3 | |
setRawAttributes() | 77 | 1 | 4 | |
toArray() | 79 | 1 | 3 | |
DB() | 76 | 1 | 4 | |
scopedGlobal() | 81 | 1 | 3 | |
Query() | 80 | 1 | 3 | |
getForeignKey() | 79 | 1 | 3 | |
__set() | 80 | 1 | 3 | |
getResourceName() | 80 | 1 | 3 | |
getKeyName() | 82 | 1 | 3 | |
initializeTraits() | 91 | 1 | 2 | |
booted() | 89 | 1 | 2 | |
boot() | 89 | 1 | 2 | |
booting() | 89 | 1 | 2 | |
queryAttributes() | 79 | 1 | 3 | |
withId() | 80 | 1 | 3 | |
deleteMeta() | 91 | 1 | 2 |